package cn.hl.hm.entity;

import java.util.Date;

public class CouponDefinition {
    private Integer id;

    private String title;

    private Double quota;

    private Boolean preferentialType;

    private Boolean status;

    private Date startTime;

    private Date endTime;

    private String preferentialRule;

    private Double satisfyPrice;

    private Integer createUser;

    private Date createTime;

    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Double getQuota() {
        return quota;
    }

    public void setQuota(Double quota) {
        this.quota = quota;
    }

    public Boolean getPreferentialType() {
        return preferentialType;
    }

    public void setPreferentialType(Boolean preferentialType) {
        this.preferentialType = preferentialType;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getPreferentialRule() {
        return preferentialRule;
    }

    public void setPreferentialRule(String preferentialRule) {
        this.preferentialRule = preferentialRule == null ? null : preferentialRule.trim();
    }

    public Double getSatisfyPrice() {
        return satisfyPrice;
    }

    public void setSatisfyPrice(Double satisfyPrice) {
        this.satisfyPrice = satisfyPrice;
    }

    public Integer getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}